Skip to content

)}

ScheduledItem.CompareTo(ScheduledItem?) method

Defined in

Type: ScheduledItem Namespace: System.Reactive.Concurrency Assembly: System.Reactive.dll

Applies to

net8.0, net8.0-windows10.0.19041, netstandard2.0

public int CompareTo(ScheduledItem<TAbsolute>? other)

Inherited documentation

These docs were inherited from IComparable<ScheduledItem<TAbsolute>>. The member doesn't override them on this type.

Summary: Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

Parameters

NameTypeDescription
other[ScheduledItem?](#An object to compare with this instance.

Returns: int -- A value that indicates the relative order of the objects being compared. The return value has these meanings:

ValueMeaning
Less than zeroThis instance precedes other in the sort order.
ZeroThis instance occurs in the same position in the sort order as other.
Greater than zeroThis instance follows other in the sort order.